export const emailConfig = () => ({
  email: {
    transport: {
      host: process.env.SMTP_HOST || 'smtp.gmail.com',
      port: parseInt(process.env.SMTP_PORT || '587'),
      secure: process.env.SMTP_SECURE === 'true',
      auth: {
        user: process.env.SMTP_USER || '',
        pass: process.env.SMTP_PASS || ''
      }
    },
    defaults: {
      from: process.env.SMTP_FROM || 'noreply@example.com'
    }
  }
})
